package com.yun.zf.common.admin.model.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(description = "添加菜单")
public class MenuAddMo {
    @ApiModelProperty(value = "菜单名称")
    @NotBlank(message = "菜单名称不能为空")
    private String menuName;
    @ApiModelProperty(value = "类型:M目录 C菜单 F按钮")
    @NotBlank(message = "菜单类型不能为空")
    private String menuType;
    @ApiModelProperty(value = "菜单图标")
    private String icon;
    @ApiModelProperty(value = "显示顺序")
    private String orderNum;
    @ApiModelProperty(value = "路由地址")
    private String path;
    @ApiModelProperty(value = "组件路径")
    private String component;

    @ApiModelProperty(value = "是否为外链")
    private String isFrame;
    @ApiModelProperty(value = "菜单状态")
    private String status;
    @ApiModelProperty(value = "显示状态")
    private String visible;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "上级菜单id")
    private Long parentId;
    @ApiModelProperty(value = "权限")
    private String perms;
}
